package com.hb.core.constant;

/**
 * @description: 常量类字段
 * @projectName: zhb-frame-build
 * @author: zhouhaizhi
 * @createTime: 2021/8/12 10:40
 * @version:1.0
 */
public class Constants {

    /*
        系统名称
     */
    public static final String APP_NAME = "zhb-frame-build";

    /*
        系统编码
     */
    public static final String SYS_CODE = "UTF_8";

    /*
        超级用户id
     */
    public static final String SUPER_USER_ID = "-1";

    /*
        升序
     */
    public static final String SORT_ASC = "ASC";

    /*
        降序
     */
    public static final String SORT_DESC = "DESC";

    /*
        字典根节点parentCode
     */
    public static final String ROOT_DICT_PARENT_CODE = "-1";

    /*
        不需要认证的uri
     */
    public static final String[] AUTH_WHITELIST = new String[]{"/swagger-resources/**","/swagger-ui.html","/v2/api-docs","/webjars/**"};

    /*
        不需要认证的静态资源
     */
    public static final String[] STATIC_RESOURCE = new String[]{"/**/**.html","/**/**.css","/**/**.js","/**/**.png","/**/**.jpg"};

    /*
        标识：1 是/0否、1 启用/0禁用等
     */
    public interface Flag {

        Integer IS_FLASE = 0;

        Integer IS_TRUE = 1;
    }

    /*
        性别： 1 男/0 女
     */
    public interface Sex {

        Integer MALE = 1;

        Integer FEMALE = 0;
    }

}
